* {
  padding: 0;
  margin: 0;
}

.box {
  border: 1px solid #cfcfcf;
  margin: 0 auto;
  max-width: 1200px;
  padding: 10px;
  border-radius: 20px;
}

h1 {
  text-align: center;
  font-weight: 100;
}

/* .fun {
  display: flex;
  justify-content: space-between;
} */
.fun p {
  text-indent: 30px;
}
.fun input {
  margin: 0;
  padding: 0;
  border: 1px solid red;
  /* outline: none; */
  width: 80%;
  height: 30px;
}
.fun button {
  width: 70px;
  height: 30px;
  font-size: 16px;
  background: #008c8c;
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}

table {
  margin: 0 auto;
}

td {
  width: 70px;
  height: 70px;
  font-size: 50px;
  color: #fff;
  text-align: center;
  background-color: #008c8c;
  user-select: none;
  cursor: pointer;
}

.current {
  background-color: #fff !important;
  transition: all 0.3s;
}

#error {
  color: red;
}

/*  */
.gameContainer {
  display: flex;
}

.gameContainer > div {
  flex: 1;
}

.gameFunc button {
  margin-left: 2px;
}

/* alert 模态框*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 55%;
  font-size: 16px; /* 设置字体大小 */
  text-align: right;
  border-radius: 20px;
}
.modal-content span {
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
}
